package com.syb.service;

import java.util.List;
import java.util.Map;

import com.syb.entity.user.SysUser;
import com.syb.util.PageResults;

public interface UserService {
	
	public PageResults<SysUser> getUserList(PageResults<SysUser> page) throws Exception;
	
	public void saveSysUser(SysUser sysUser)throws Exception;
	
	public void updateSysUser(SysUser sysUser)throws Exception;
	
	public void deleteSysUser(SysUser sysUser)throws Exception;
	
	public SysUser tzUpdateUser(Integer id)throws Exception;
	
	public  List<Map<String,Object>> findRoleList(Integer id)throws Exception;
	
	public void updateRoleList(List<Map<String,Object>> list)throws Exception;

}
